var ngageDisplayMode=0; var WebsiteID='58-66-56-130-73-81-62-203'; var ngageLang='en'; var main_url = '\x6d\x65\x73\x73\x65\x6e\x67\x65\x72\x2e\x6e\x67\x61\x67\x65\x69\x63\x73\x2e\x63\x6f\x6d'; var main_chat_url = '\x73\x65\x63\x75\x72\x65\x2e\x6e\x67\x61\x67\x65\x6c\x69\x76\x65\x2e\x63\x6f\x6d\x2f\x63\x68\x61\x74'; var ngageUseIntegratedChat = false; var generalImageHash = '952E04567F4ED241D0C86D4B79F5F7A4'; var ngage_date_obj = {"day":31,"weekday":5,"month":5,"hourminutes":343,"dst":true}; var has_general_image = true; var ngage_debug = false; var ngage_chat_window_height = 600; var ngage_chat_window_width = 475; var jsExtender=jsExtender||function(){function s(n){return a===n}function h(n){return typeof n=="undefined"}function e(n){return h(n)||n==null}function o(n){return typeof n=="object"}function c(n){return typeof n=="string"}function t(n){return typeof n=="function"}function f(n,i){var f,r,e;if(!o(n))throw"source must be an instance of an object.";if(!t(i))throw"propCallback must be a function.";for(f=u(n),r=0;r0&&r[0]!=="/"&&(r="/"+r);i.open(o,ngage.server.getServerApiUrl()+r,c);i.setRequestHeader("Content-Type",h);i.send(JSON.stringify(s))}catch(a){jsExtender.isUndefinedOrNull(u)||u(a)}}}function p(n,t){var f={url:"/Service/Visitor/Update",urlParams:{siteId:r,visitorId:u,fromChat:c,currentUrl:h,referringUrl:l},"async":!0,success:n,fail:t};i(f)}function it(){o=!1;s!==null&&(clearInterval(s),s=null)}function f(){if(!o){it();return}it()}function rt(){s===null&&(p(w,b),s=setInterval(function(){if(!o){f();return}p(w,b)},ot))}function w(){e!==null&&(e(),e=null);t=0}function b(){if(t++,t>=v){f();return}var n=e!==null?st:a;setTimeout(function(){p(w,b)},n)}function ut(n,e){var o={siteId:r,visitorId:u};i({url:"/Service/Visitor/IsValidGuid",urlParams:o,"async":!0,success:function(i){t=0;n(JSON.parse(i))},fail:function(i,r){if(t++,t>=v||r===400){f();e();return}setTimeout(function(){ut(n,e)},a)}})}function wt(n,t,r,u){var f={siteId:n,visitorId:t};i({url:"/Service/Visitor/IsValidGuid",urlParams:f,"async":!0,success:function(n){r(JSON.parse(n))},fail:u})}function bt(n,t){i({url:"/Service/Cookie/SetCookie","async":!0,success:function(t){n(t)},fail:t})}function kt(n,t){i({url:"/Service/Cookie/GetCookie","async":!0,success:function(t){n(t)},fail:t})}function ft(n,u){i({url:"/Service/Visitor/GetGuid","async":!0,urlParams:{siteId:r},success:function(i){t=0;tt(i);n()},fail:function(){if(t++,t>=v){f();return}setTimeout(function(){ft(n,u)},a)}})}function dt(n,t,r){typeof r=="object"&&(r=JSON.stringify(r));var u={siteId:n,visitorId:t,data:r};i({method:"POST",url:"/Chat/Data/SetVisitorData",urlParams:u,"async":!0})}function gt(n,t){var f={siteId:r,visitorId:u};i({method:"POST",url:"/Service/Visitor/HasActiveChat","async":!0,urlParams:f,success:function(t){n(JSON.parse(t))},fail:t})}function ni(n){if(d&&typeof n=="function"){n();return}y.push(n)}function et(){for(d=!0;y.length>0;){var n=y.shift();typeof n=="function"&&n()}}function ti(n,t,i){(r!==n&&f(),o)||(jsExtender.isUndefinedOrNull(i)||(c=i),yt(),o=!0,e=t||function(){},r=n,u=vt(),ngage.events.dom.bind(window,"pagehide",k,!0),ut(function(n){if(n.IsValid){et();rt();return}ft(function(){et();rt()},function(){})},function(){}))}var r=null,u=null,k=null,c=!1,e=null,h=null,l=null,o=!1,s=null,d=!1,t=0,a=5e3,ot=3e5,st=1e3,v=20,y=[];return k=function(n){n.persisted||f()},{start:ti,stop:f,setVisitorId:tt,getVisitorId:ct,getThirdPartyCookie:kt,setThirdPartyCookie:bt,isValidTrackingGuid:wt,getSiteId:lt,onConnected:ni,setVisitorData:dt,trackEvent:at,hasActiveChat:gt}}();ngage.server.tag=ngage.server.tag||function(){function t(n){var t="",i=!1;return jsExtender.forEachProperty(n,function(n,r){var u=i?"&":"?";return r=r!=null?r:"",t+=u+n+"="+r,i=!0,!0}),t}function i(n){return typeof n=="undefined"}function n(n){return i(n)||n==null}function r(i){var r,f;if(i=i||{},!n(i.url)){var o=n(i.method)?"GET":i.method,s=n(i.data)?"":i.data,e=n(i.success)?function(){}:i.success,u=n(i.fail)?function(){}:i.fail,h=n(i.urlParams)?{}:i.urlParams,c=i.url+t(h);if(typeof XDomainRequest=="undefined"||XDomainRequest==null){jsExtender.isUndefinedOrNull(u)||u();return}r=new XDomainRequest;r.onerror=function(){jsExtender.isUndefinedOrNull(u)||u(r.responseText)};r.onload=function(){jsExtender.isUndefinedOrNull(e)||e(r.responseText)};r.ontimeout=function(){jsExtender.isUndefinedOrNull(u)||u()};r.onprogress=function(){};f=ngage.server.serverApiUrl;document.location.protocol==="https:"&&(f=ngage.server.getServerApiUrl());r.open(o,f+c);r.send(JSON.stringify(s))}}function u(i){var u,s;if(i=i||{},!n(i.url)){var h=n(i.method)?"GET":i.method,c=n(i.data)?"":i.data,l=n(i.contentType)?"text/plain":i.contentType,a=n(i.async)?!0:i.async,o=n(i.success)?function(){}:i.success,e=n(i.fail)?function(){}:i.fail,v=n(i.urlParams)?{}:i.urlParams,f=i.url+t(v);if(typeof XDomainRequest!="undefined"&&XDomainRequest!=null){r(i);return}try{u=ngage.getXmlHttpObject();u.onreadystatechange=function(){if(u.readyState===4){if(u.status!==200&&u.status!==304){jsExtender.isUndefinedOrNull(e)||e(u.responseText);return}jsExtender.isUndefinedOrNull(o)||o(u.responseText)}};s=f.length;s>0&&f[0]!=="/"&&(f="/"+f);u.open(h,ngage.server.getServerApiUrl()+f,a);u.setRequestHeader("Content-Type",l);u.send(JSON.stringify(c))}catch(y){jsExtender.isUndefinedOrNull(e)||e(y)}}}function f(n,t,i,r){var f=ngage.server.visitor.getVisitorId(),o=ngage.server.visitor.getSiteId(),e;f!=null&&(e={url:"/Tracker/Tag/Visitor",urlParams:{name:n,value:t,encryptedSiteId:o,visitorId:f,tagCreationType:1,tagRelationType:4},"async":!0,success:i,fail:r},u(e))}return{visitor:f}}();ngage.events=ngage.events||function(){function t(n,t){function f(n){if(typeof n=="function")return n;if(typeof n!="string")return function(){};return function(){eval(n)}}t=f(t);var i=function(){if(typeof t=="function")try{t.apply(this,arguments)}catch(n){console&&console.log&&console.log(n)}},r=function(t){return n===t},u=function(n){return n===t};return{fire:i,matchesType:r,eventType:function(){return n},matchesFunction:u}}function i(t){for(var r,u=n.length,i=u-1;i>=0;i--)r=n[i],r.matchesType(t)&&r.fire.apply(this,Array.prototype.slice.call(arguments,1))}function r(i,r){n.push(new t(i,r))}function u(t){for(var i=n.length;i--;)n[i].matchesFunction(t)&&n.splice(i,1)}var n=[];return{bind:r,unbind:u,fire:i,eventTypes:{chat:{initializationComplete:-1,conversationStarted:0,conversationEnded:1,visitorJoined:2,visitorLeft:3,operatorJoined:4,operatorTyping:7,messageReceived:8,windowResized:10,orientationChanged:11,inputGainedFocus:12,inputLostFocus:13,connectionStatusChanged:14,sendFailed:15,conversationReadyForInput:16},chatClient:{visitorEmailReceived:19,visitorPhoneReceived:20,visitorPhoneEmailReceived:21,visitorMessageReceived:22,visitorFirstMessageReceived:23},tracker:{chatButtonClick:16,yesButtonClick:17,noButtonClick:18}}}};ngage.events.dom=ngage.events.dom||function(){function n(n,t,i,r){n.addEventListener?n.addEventListener(t,i,r):n.attachEvent("on"+t,i)}function t(n,t,i,r){n.removeEventListener?n.removeEventListener(t,i,r):n.detachEvent(t,i)}return{bind:n,unbind:t}}();ngage.cookies=ngage.cookies||function(){function n(n,t,i,r,u,f,e){(typeof r=="undefined"||r==null)&&(r="/");this.name=n;this.value=t;this.path=r;this.secure=f;this.sameSite=u;this.partitioned=e;this.setExpires(i)}function t(){for(var t,r,e,u={},f=document.cookie.split(";"),o=f.length,i=0;i{ngage.GA4ClientId=ngage.GA4ClientId||{},ngage.GA4ClientId[n]=t}),gtag("get",ngage.measurementId,"session_id",t=>{ngage.GA4SessionId=ngage.GA4SessionId||{},ngage.GA4SessionId[n]=t})),i!==!1&&(i||ngage.chat)&&typeof gtag=="function"&>ag("event","page_view"),ngage.chat){e=window.parent!=window?window.parent:window.opener||null;ngage.chat.events.chatClient.onVisitorPhoneEmailReceived(function(){ngage.custom.trackInParentWindow&&e&&e.postMessage?e.postMessage("Email Received","*"):typeof gtag=="function"&>ag("event","ngage_email_received",{name:"ngageTracker"+f,eventAction:"Chat",eventLabel:"Conversion",eventValue:"Email Received"})});ngage.chat.events.chatClient.onVisitorFirstMessageReceived(function(){ngage.custom.trackInParentWindow&&e&&e.postMessage?e.postMessage("Visitor Chats","*"):typeof gtag=="function"&>ag("event","ngage_visitor_chats",{name:"ngageTracker"+f,eventAction:"Chat",eventLabel:"Conversion",eventValue:"Visitor Chats"})})}else if(ngage.tracker){window.ngGANT=window.ngGANT||"";window.ngGAYT=window.ngGAYT||"";window.ngGARC=window.ngGARC||"";ngage.tracker.events.onYesClick(function(){typeof gtag=="function"&>ag("event","ngage_yes_click",{name:"ngageTracker"+f,eventAction:"Chat",eventLabel:"Answer",eventValue:"Yes"})});ngage.tracker.events.onChatButtonClick(function(){typeof gtag=="function"&>ag("event","ngage_requested_chat",{name:"ngageTracker"+f,eventAction:"Chat",eventLabel:"Answer",eventValue:"Requested Chat"})});if(!r)ngage.tracker.events.onNoClick(function(){typeof gtag=="function"&>ag("event","ngage_no_click",{name:"ngageTracker"+f,eventAction:"Chat",eventLabel:"Answer",eventValue:"No"})});window.addEventListener?window.addEventListener("message",n):window.attachEvent&&window.attachEvent("onmessage",n);function n(n){(n.origin.match("secure.ngagelive.com")||n.origin.match("stg-ngageweb.ngagelive.com"))&&(n.data=="Email Received"||n.data=="Visitor Chats")&&typeof gtag=="function"&>ag("event",n.data.toLowerCase().replace(" ","_"),{name:"ngageTracker"+f,eventAction:"Chat",eventLabel:"Conversion",eventValue:n.data})}}t!==undefined&&t++}function i(n,t){(n.origin.match("secure.ngagelive.com")||n.origin.match("stg-ngageweb.ngagelive.com"))&&(n.data=="Email Received"||n.data=="Visitor Chats")&&ga("ngageTracker"+t+".send","event","Chat","Conversion",n.data)}function h(t,i,u,f){var e,o;if(ngage.custom.trackInParentWindow=ngage.custom.trackInParentWindow||f,typeof _gaq=="undefined"&&function(){var n=document.createElement("script"),t;n.type="text/javascript";n.async=!0;n.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)}(),e=n,window._gaq=window._gaq||[],_gaq.push(["ngage"+e+"._setAccount",t]),_gaq.push(["ngage"+e+"._setAllowLinker",!0]),i!==!1&&(i||ngage.chat)&&_gaq.push(["ngage"+e+"._trackPageview"]),ngage.chat){o=window.parent!=window?window.parent:window.opener||null;ngage.chat.events.chatClient.onVisitorPhoneEmailReceived(function(){ngage.custom.trackInParentWindow&&o&&o.postMessage?o.postMessage("Email Received","*"):_gaq.push(["ngage"+e+"._trackEvent","Chat","Conversion","Email Received "])});ngage.chat.events.chatClient.onVisitorFirstMessageReceived(function(){ngage.custom.trackInParentWindow&&o&&o.postMessage&&o.postMessage("Visitor Chats","*");_gaq.push(["ngage"+e+"._trackEvent","Chat","Conversion","Visitor Chats "])})}else if(ngage.tracker){window.ngGANT=window.ngGANT||"";window.ngGAYT=window.ngGAYT||"";window.ngGARC=window.ngGARC||"";ngage.tracker.events.onYesClick(function(){_gaq.push(["ngage"+e+"._trackEvent","Chat","Answer","Yes"])});if(!u)ngage.tracker.events.onNoClick(function(){_gaq.push(["ngage"+e+"._trackEvent","Chat","Answer","No"])});ngage.tracker.events.onChatButtonClick(function(){_gaq.push(["ngage"+e+"._trackEvent","Chat","Answer","Requested Chat"])});window.addEventListener?window.addEventListener("message",function(n){r(n,e)}):window.attachEvent&&window.attachEvent("onmessage",function(n){r(n,e)})}n++}function r(n,t){(n.origin.match("secure.ngagelive.com")||n.origin.match("stg-ngageweb.ngagelive.com"))&&(n.data=="Email Received"||n.data=="Visitor Chats")&&_gaq.push(["ngage"+t+"._trackEvent","Chat","Conversion",n.data])}function c(n){typeof n=="function"&&ngage.loadScript("https://scripting.ngagelive.com/dev/api/NgageGeoIP.php?callback="+n.name)}function l(n,t,i){ngage.loadScript("https://scripting.ngagelive.com/dev/api/geoip.php",function(){var f=!1,u,r;switch(t){case"state":u=ngage.geoIp.state.stateName;break;case"state_iso":u=ngage.geoIp.state.isoCode;break;case"city":u=ngage.geoIp.city;break;case"zip":u=ngage.geoIp.zipCode;break;default:return}if(i===!0){for(r=0;r<\/div>
<\/div>
live chat<\/div>
Get 24/7 Real-Time
Assistance.<\/div>
<\/div><\/div><\/a>';n.innerHTML+='
<\/div>
online now<\/div>
<\/div><\/div><\/div>
<\/div><\/div>
'+i+'<\/div>
'+r+'<\/div>
<\/div>
<\/div>
<\/div><\/div><\/div><\/div><\/div><\/div>
Start Chat<\/div><\/div><\/a>
<\/div><\/div><\/div>';n.innerHTML+='<\/a>';document.body.appendChild(n)}function h(){if(setTimeout(function(){n.style.display="block";setTimeout(function(){n.style.opacity="1"},250)},250),!ngage.cookies.getCookie("dismissAnimatedInviteCookie")){setTimeout(f,8e3);var i=document.getElementsByClassName("chat-window-operator-image-container")[0];i.style.border="1.2px solid";i.style.borderColor=t.barColor;document.getElementsByClassName("chat-window-start-chat-cta")[0].style.backgroundColor=t.barColor;window.addEventListener("scroll",e)}}function c(){document.getElementById("chat-window-link").addEventListener("click",function(){setTimeout(i,2500)});document.getElementById("chat-window-top-content-dismiss-image").addEventListener("click",i);document.getElementById("black-circle-background-image-container").addEventListener("click",function(){setTimeout(i,2500)})}function f(){r||(r=!0,l())}function e(){var t=document.body,i=document.documentElement,n=window.pageYOffset||i.scrollTop||t.scrollTop;n>=u&&(f(),window.removeEventListener("scroll",e));u=n}function l(){var n=document.getElementsByClassName("black-bubble-background")[0],t=document.getElementsByClassName("black-bubble-background-online-dot")[0];n.style.opacity="0";t.style.display="none";setTimeout(function(){n.style.display="none";a()},150)}function a(){var n=document.getElementsByClassName("chat-window-background-container")[0];typeof n!="undefined"&&n!==null&&(n.style.display="block",setTimeout(function(){n.style.opacity="1";n.style.top="0"},150),setTimeout(v,6e3))}function v(){var n=document.getElementsByClassName("chat-bubble-container")[0],t=document.getElementsByClassName("chat-window-message-two")[0],i=document.getElementsByClassName("chat-window-operator-image-container")[0];typeof n!="undefined"&&n!==null&&(n.style.display="none",setTimeout(function(){t.style.display="block";i.style.top="101px"},500))}function i(){var n,t,i;ngage.cookies.getCookie("dismissAnimatedInviteCookie")||ngage.cookies.setCookie("dismissAnimatedInviteCookie","existing",5);n=document.getElementsByClassName("chat-window-background-container")[0];typeof n!="undefined"&&n!==null&&n.style.top==="0px"&&(t=document.getElementById("bottom-right-black-bubble-invite-container"),i=document.getElementById("chat-window-background-container"),n.style.opacity="0",n.style.top="40px",setTimeout(function(){t.removeChild(i)},250))}var r=!1,u=0,n=document.createElement("div"),t=ngage.tracker.chatInvite.getInviteSettings();o()}function p(){NgageChatService.ChatService.SendLeadJson(ngage.cookies.getCookie("ConvId_"+document.getElementById("txtWebsiteID").value),JSON.stringify(ngage.chat.interactive.getAnswerObj()))}function w(n){var t;if(ngage.tracker)ChatURL+="&customobject="+encodeURIComponent(JSON.stringify(n));else if(ngage.chat){try{t=JSON.parse(decodeURIComponent(document.location.href.split("&customobject=")[1].split("&")[0]))}catch(i){t={}}return ngage.custom.passParameter(t),t}}function u(){ngage.isMobile()&&(ngage.tracker&&ngage.tracker.chatInvite.setInviteSettings({useSameWindowMobile:!0}),ngage.custom.trackInParentWindow=!0)}function b(){ngage.customNgageLibrary={};ngage.customNgageLibrary.killOnPage=ngage.customNgageLibrary.killNgage=ngage.customNgageLibrary.createMsg=ngage.customNgageLibrary.ngageForceMessage=ngage.customNgageLibrary.passLandingPage=ngage.customNgageLibrary.adsrvr_track=ngage.customNgageLibrary.addSpanishPopupButton=ngage.customNgageLibrary.defineOptimizelyEvents=ngage.customNgageLibrary.addSpanishPopupButton2=ngage.removeSlider2=ngage.customNgageLibrary.shadowBox=ngage.customNgageLibrary.suppressNgage=ngage.customNgageLibrary.geoIP=ngage.customNgageLibrary.killPopup=ngage.fireTopDesktop=ngage.customNgageLibrary.noloStylePopup=ngage.customNgageLibrary.fireNewMobile=ngage.fireNewDesktop=ngage.trackExitIntent=ngage.customNgageLibrary.phoneValidateSimple=ngage.customNgageLibrary.phoneValidate=function(){};ngage.customNgageLibrary.passParameter=ngage.custom.passParameter;ngage.customNgageLibrary.passCustomFieldFromSite=ngage.custom.passCustomFieldFromSite;ngage.customNgageLibrary.appendNgageCSS=ngage.custom.appendNgageCSS;ngage.customNgageLibrary.addAnalytics=ngage.custom.addUniversalAnalytics;ngage.customNgageLibrary.appendSpanishPopup=ngage.tracker.custom.appendSpanishPopup;ngage.customNgageLibrary.shadowBox=ngage.tracker.custom.shadowBox}var n=1,t=1,k=function(){function n(n){typeof n=="string"&&ngage.custom.loadAlternate[n]?ngage.custom.loadAlternate[n]():typeof n=="object"&&ngage.custom.loadAlternate[n.name]?ngage.custom.loadAlternate[n.name](n):ngage.custom.loadAlternate.paramArray.push(n)}return{paramArray:[],push:n,sameWindowChat:u}}();return{appendNgageCSS:f,addAnalytics:h,addUniversalAnalytics:e,addGoogleAnalyticsV4:s,geoIP:c,geoIP2:v,geoFilter:l,geoFilterInternational:a,chatWindowCta:y,passParameter:p,passCustomFieldFromSite:w,voidAllCustomLibraryCalls:b,loadAlternate:k,sameWindowMobileChat:u}}();ngage.splitTest=ngage.splitTest||function(){function o(t){if(ngage.ignoreSplit===!0||ngage.ignoreSplit===t.xID)return!1;if(!ngage.splitTest.started&&t.url&&t.xID){ngage.splitTest.started=!0;ngage.splitTest.xID=t.xID;t.url=="none"?r():ngage.loadScript(t.url,r);function r(){var t=ngage.splitTest.activation(),r,u;if(t!==!1&&typeof t=="number"){if(r=ngage.cookies.getCookie("splitVariant"+ngage.splitTest.xID),u=i("variant"+ngage.splitTest.xID),isNaN(parseInt(r))){if(ngage.chat&&!isNaN(parseInt(u)))t=u;else if(ngage.chat&&!ngage.splitTest.chatWindowTest)return!1}else t=r;ngage.tracker&&(ChatURL+="&variant"+ngage.splitTest.xID+"="+t);ngage.splitTest.variant=parseInt(t);ngage.cookies.setCookie("splitVariant"+ngage.splitTest.xID,parseInt(t),1/24);n({type:"visit"});(ngage.tracker&&!ngage.splitTest.chatWindowTest||ngage.chat&&ngage.splitTest.chatWindowTest)&&ngage.splitTest.experiment()}}}}function n(n){ngage.splitTest.variant!==!1&&(n.type=="visit"?t({type:"visit"}):n.type=="event"&&n.label&&t({type:"event",label:n.label}))}function s(n,t){typeof t=="function"&&(n=="activation"&&(ngage.splitTest.activation=t),n=="experiment"&&(ngage.splitTest.experiment=t))}function t(n){var t="visitorID="+ngage.splitTest.guid+"&variant="+ngage.splitTest.variant+"&metaData="+encodeURIComponent(JSON.stringify(ngage.splitTest.metaData))+"&xID="+encodeURIComponent(ngage.splitTest.xID),i;n.type=="visit"&&(t+="&type=visit");n.type=="event"&&(t+="&type=event&label="+encodeURIComponent(n.label));n.type=="fpb"&&(t+="&type=fpb&label="+encodeURIComponent(n.label));i=new Image(1,1);i.src=c+"?"+t}function h(){var n=!1;try{n=(new Date).getTime()-ngage.cookies.getCookie("ngageFirstVisit")}catch(t){}document.URL.match("ib_qa_upcoming_test")&&(ngage.split_url=ngage.altTestURL,ngage.split_xID="altTest");ngage.ignoreSplit||ngage.ignoreTracking||ngage_debug||document.URL.match("ignore_split")||document.URL.match("avvo.com")||!ngage.split_url||!(!ngage.cookies.getCookie("ngageFirstVisit")||n&&n<864e5||document.URL.match("ib_qa_upcoming_test")||document.URL.match("ngageForceVariant"))||(ngage.splitTest.activationMode=ngage.splitTest.activationMode||function(){return!0},ngage.splitTest.trafficAllocation=ngage.splitTest.trafficAllocation||function(){return Math.floor(Math.random()*ngage.splitTest.experimentFunctions.length)},ngage.splitTest.activation=function(){if(ngage.splitTest.activationMode()&&ngage.splitTest.experimentFunctions){if(ngage.tracker&&!window.ngage_debug){ngage.tracker.events.onYesClick(function(){ngage.splitTest.fireEvent({type:"event",label:"yesClick"})});ngage.tracker.events.onChatButtonClick(function(){ngage.splitTest.fireEvent({type:"event",label:"buttonClick"})})}else if(ngage.chat){ngage.chat.events.chatClient.onVisitorPhoneEmailReceived(function(){ngage.splitTest.fireEvent({type:"event",label:"emailReceived"})});ngage.chat.events.chatClient.onVisitorFirstMessageReceived(function(){ngage.splitTest.fireEvent({type:"event",label:"visitorChats"})})}else return!1;var n=document.location.href.match(/ngageForceVariant\=([0-9])/);return n?(ngage.cookies.setCookie("splitVariant"+ngage.splitTest.xID,parseInt(n[1]),1/24),parseInt(n[1])):ngage.splitTest.trafficAllocation()}return!1},ngage.splitTest.experiment=function(){typeof ngage.splitTest.experimentFunctions[ngage.splitTest.variant]=="function"&&ngage.splitTest.experimentFunctions[ngage.splitTest.variant]();typeof ngage.splitTest.experimentJavascript=="function"&&ngage.splitTest.experimentJavascript()},ngage.splitTest.start({xID:ngage.split_xID,url:"none"}))}function l(){var n=ngage.server.visitor.getVisitorId(),t=i("visitorId");return n?n:t?t:ngage.cookies.getCookie("ngageId")}function i(n){var t={},i=decodeURIComponent(window.location.href.slice(window.location.href.indexOf("?")+1)),r=i.split("&");return r.forEach(function(n){var i=n.split("=",2);t[i[0]]=i[1]}),t[n]}var r=function(){return!1},u=function(){},f={referrer:document.referrer,currentPage:document.URL,userAgent:navigator.userAgent},e=l(),c="https://scripting.ngagelive.com/dev_test/split/px.php";return{init:h,start:o,fireEvent:n,bindEvents:s,variant:!1,guid:e,metaData:f,xID:null,activation:r,experiment:u}}();ngage.trackingPixel=ngage.trackingPixel||function(){function t(n){var t="visitorID="+ngage.trackingPixel.guid+"&metaData="+encodeURIComponent(JSON.stringify(ngage.trackingPixel.metaData));"visit"==n.type&&(t+="&type=visit");"event"==n.type&&(t+="&type=event&label="+encodeURIComponent(n.label));"fpb"==n.type&&(t+="&type=fpb&label="+encodeURIComponent(n.label));new Image(1,1).src="https://scripting.ngagelive.com/dev_test/api/ntpx.php?"+t}var i,r,n,u={referrer:document.referrer,currentPage:document.URL,userAgent:navigator.userAgent,websiteId:window.WebsiteID?window.WebsiteID:document.getElementById("txtWebsiteIDEncrypted")?document.getElementById("txtWebsiteIDEncrypted").value:"none"},f=(i=ngage.server.visitor.getVisitorId(),n={},decodeURIComponent(window.location.href.slice(window.location.href.indexOf("?")+1)).split("&").forEach(function(t){var i=t.split("=",2);n[i[0]]=i[1]}),r=n.visitorId,i||r||ngage.cookies.getCookie("ngageId"));try{ngage.cookies.getCookie("ngageFirstVisit")||ngage.cookies.setCookie("ngageFirstVisit",(new Date).getTime(),365)}catch(i){}return{fireEvent:function(n){"visit"==n.type?t({type:"visit"}):"event"==n.type&&n.label&&t({type:"event",label:n.label})},fireFpb:function(n){t({type:"fpb",label:n})},guid:f,metaData:u,init:function(){if(ngage.noTrack)return!1;ngage.trackingPixel.fireEvent({type:"visit"});ngage.tracker&&!window.ngage_debug?(ngage.tracker.events.onYesClick(function(){ngage.trackingPixel.fireEvent({type:"event",label:"yesClick"})}),ngage.tracker.events.onChatButtonClick(function(){ngage.trackingPixel.fireEvent({type:"event",label:"buttonClick"})})):ngage.chat&&(ngage.chat.events.chatClient.onVisitorPhoneEmailReceived(function(){ngage.trackingPixel.fireEvent({type:"event",label:"emailReceived"})}),ngage.chat.events.chatClient.onVisitorFirstMessageReceived(function(){ngage.trackingPixel.fireEvent({type:"event",label:"visitorChats"})}))}}}();ngage.motion=ngage.motion||function(){function n(n){function r(r){t.fire(i.animate,n,r)}var t=ngage.events(),i={started:0,ended:1,animate:2};return{eventTypes:i,events:t,animate:r}}function t(t,i,r){function a(){u||s.fire(h.started,t);u=!1;l()}function l(){c=f/i;o.animate(c);f+=r;!u&&f<=i?e=setTimeout(l,r):s.fire(h.ended,t)}function v(){(u=!0,e!=null)&&(clearTimeout(e),e=null)}function y(){f=0}var c,u=!1,f=0,o=n(t),s=o.events,h=o.eventTypes,e=null;return{eventTypes:h,events:s,start:a,pause:v,reset:y}}return{createAnimation:n,createTimedAnimation:t}}();ngage.tracker=ngage.tracker||function(){function u(){if(t===null)try{t=document.getElementsByTagName("head")[0]}catch(n){}}function f(){ngage.isMobile()&&(n===null&&(n=document.getElementsByName("viewport"),n.length===0?(n=document.createElement("meta"),n.name="viewport",t.appendChild(n),n.oldContent=""):(n=n[0],n.oldContent=n.content)),n.content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0, width=device-width, height=device-height")}function e(){n!==null&&(n.content=n.oldContent)}function o(){if(ngage.isMobile()){var n=document.getElementById("nGageLH");n!==null&&typeof n!="undefined"&&n.style.position==="fixed"&&n.parentNode!==null&&typeof n.parentNode!="undefined"&&n.parentNode.removeChild(n)}}function s(){typeof ngage.tracker.events=="object"&&(ngage.universalAnalytics?function(n,t){n.GoogleAnalyticsObject=t;n[t]=n[t]||function(){(n[t].q=n[t].q||[]).push(arguments)};n[t].l=1*new Date}(window,"ga"):window._gaq=window._gaq||[])}function h(){var n=document.createElement("link");n.setAttribute("rel","stylesheet");n.setAttribute("type","text/css");n.setAttribute("href",ngage.httpsPreFix+main_url+"/api/customscript/getscript?id="+WebsiteID+"&scriptType=0");document.getElementsByTagName("head")[0].appendChild(n)}var n=null,t=null,i={standard:0,side:1,top:2,bottom:3},r={standard:1,mockChat:2,shadowBox:3,none:4};return u(),h(),o(),{forceZoomOut:f,resetZoomLevel:e,buttonStyles:i,buttonDisplayStyle:i.side,initializeAnalytics:s,inviteStyles:r,inviteStyle:r.standard,killNgageFlag:!1}}();ngage.tracker.custom=ngage.tracker.custom||function(){function n(){var i,n,t;ngage.tracker.killNgageFlag=!0;window.ngage_ap_timeint=window.ngage_ap_timeint||0;DenyAutoPopup();i=!0;StartNgageChat=function(){};ngage.custom.appendNgageCSS(".bottom-right-black-bubble-invite-container { display:none !important;} #ngageInviteBackground {display:none !important;} #ngageChatInvitationBlockBackground, #ngageChatInvitationBlock { display:none !important;} .ngageMobileFloat { display:none !important; } #ngageInvite {display:none !important;} .liveChatFloatingButtonMobile {display:none !important;} #nGageLH {display:none !important;} .liveChatFloatingButton { display:none !important;} .liveChatFloatingButtonTop { display:none !important;} .liveChatFloatingButtonBottom { display:none !important;} .mobile-bubble-chat.mobile-bubble-chat-border {display:none !important;}",!0);ngage.tracker.buttonDisplayStyle=ngage.tracker.buttonStyles.standard;n=document.getElementById("nGageLH");n&&(n.style.display="none");t=document.getElementsByClassName("liveChatFloatingButton")[0];t&&(t.style.display="none");ngage.tracker.chatInvite.hideInvite();ngage.tracker.chatInvite.disableTitleFlash()}function i(t){for(var i=0;i.5&&(typeof n=="string"?(ngage.loadScript(n),ngage.tracker.custom.killNgage()):typeof n=="function"&&(n(),ngage.tracker.custom.killNgage()))}function u(n,i){t(n,i,!0)}function f(n,i){t(n,i,!1)}function t(n,t,i){if(window.BlockBackground=window.BlockBackground||function(){},ngage.tracker.inviteStyle==2){var r=ngage.tracker.chatInvite.getInviteSettings().mockChatInviteText;ngage.tracker.chatInvite.setInviteSettings({mockChatInviteText:{messageText1:i===!0?"Hola! Una persona en vivo está disponible 24/7 sin compromiso.":r.messageText1,repeatMessageText1:i===!0?"Hola, puede que sólo esté navegando, pero nuestro equipo de operadores está en espera.":r.repeatMessageText1,messageText2:i===!0?"La charla en vivo es segura, gratuita y fácil.Empiece cuando esté listo.
Click here<\/u> for english chat.":r.messageText2+"
Haga clic aquí<\/u> para español.",repeatMessageText2:i===!0?"Haga clic aquí para empezar a chatear cuando esté listo.
Click here<\/u> for english chat.":r.repeatMessageText2+"
Haga clic aquí<\/u> para español.",header:i===!0?"en línea ahora":r.header,buttonTitle:i===!0?"Comenzar chat":r.buttonTitle}})}else{function n(){var u=document.getElementsByClassName("ngageMobileFloat"),t,r;u[0]&&!ngage.isMobile()?(t=document.createElement("span"),t.style.fontSize="75%",t.onclick=function(){AcceptLangAutoPopup();event.stopPropagation()},t.innerHTML=i===!1?" Haga clic aquí para español.<\/u>":" Click here for english chat.<\/u>",document.getElementsByClassName("ngage-description-text")[0].childElementCount>0&&(r=document.getElementsByClassName("ngage-description-text")[0],r.removeChild(r.lastChild)),document.getElementsByClassName("ngage-description-text")[0].appendChild(t)):ngage.isMobile()||ngage.cookies.getCookie("NgageAutoPopup")||setTimeout(n,500)}n()}window.AcceptLangAutoPopup=window.AcceptLangAutoPopup||function(n){n&&n.preventDefault&&n.preventDefault();ngage.tracker.events.fire.yesEvent();var r=ngage.httpsPreFix+main_chat_url+"/index.aspx?websiteid="+t+"&loc="+escape(pageLoc),i=ng_doc.getElementById("divAutoChatInvFloater");i&&(i.style.visibility="hidden",i.style.display="none");BlockBackground(!1);openWindow(r+"&mode=AutoEngage",!1)}}function e(){ngage.tracker.inviteStyle=ngage.tracker.inviteStyles.shadowBox}function o(){return ngage.tracker.chatInvite.getInviteSettings().desktopInviteFont}return{killNgage:n,killOnPage:i,competitorSplitTest:r,appendSpanishPopup:f,appendEnglishPopup:u,shadowBox:e,detectBodyFont:o}}();ngage.tracker.events=ngage.tracker.events||function(){function i(i){n.bind(t.yesButtonClick,i)}function r(i){n.bind(t.noButtonClick,i)}function u(i){n.bind(t.chatButtonClick,i)}function f(){n.fire(t.yesButtonClick)}function e(){n.fire(t.noButtonClick)}function o(){n.fire(t.chatButtonClick)}var n=ngage.events(),t=n.eventTypes.tracker;return{eventsCore:n,eventTypes:n.eventTypes.tracker,onYesClick:i,onNoClick:r,onChatButtonClick:u,fire:{yesEvent:f,noEvent:e,chatButtonEvent:o},bind:n.bind,unbind:n.unbind}}();ngage.tracker.chatInvite=ngage.tracker.chatInvite||function(){function at(i){switch(i){case"es":n.customHtml===p&&(n.customHtml="Hola, estamos aquí para ayudar si usted tiene preguntas.");n.yesHtml===b&&(n.yesHtml="
Sí<\/div>, ¡comience ahora!<\/span>");n.noHtml===w&&(n.noHtml="No Gracias");n.headerHtml===k&&(n.headerHtml=ngage.isMobile()?"
CHARLA AHORA<\/div>":"
CHARLA AHORA<\/span> - EN LINEA AHORA<\/div>");n.mockChatInviteText===t&&(n.mockChatInviteText={messageText1:"Hola! Una persona en vivo está disponible 24/7 sin compromiso.",messageText2:"La charla en vivo es segura, gratuita y fácil. Empiece cuando esté listo.",repeatMessageText1:"Hola, puede que sólo esté navegando, pero nuestro equipo de operadores está en espera.",repeatMessageText2:"Haga clic aquí para empezar a chatear cuando esté listo.",header:"en línea ahora",buttonTitle:"Comenzar chat"});n.mockChatBubbleHeader===d&&(n.mockChatBubbleHeader="charla ahora");n.mockChatBubbleText===g&&(n.mockChatBubbleText="Obtenga 24/7 Asistencia
en Tiempo Real.");n.mobileLeftHalfText===nt&&(n.mobileLeftHalfText="charla en vivo");n.mobileRightHalfText===tt&&(n.mobileRightHalfText="charla ahora")}}function l(){var e=window.pageYOffset!==undefined?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop,i=n.scrollAmount,f,t,u;typeof n.scrollAmount=="function"&&(i=n.scrollAmount());typeof i!="number"&&(i=300);e>=i&&new Date-rt>n.scrollTimer&&(document.removeEventListener("scroll",l),ut=!0,setTimeout(function(){h||ngage.tracker.events.fire.noEvent()},5e3),vt(),f=n.bottomSlider&&ngage.isMobile()?"ngageMobileFloatBottom":"ngageMobileFloat",t=document.getElementsByClassName(f),t&&t.length>0&&(n.bottomSlider?(t[0].style.bottom="0px",t[0].style.top="auto"):t[0].style.top="0px",r.style.height=t[0].getBoundingClientRect().height+"px"),n.killBottom&&(u=document.getElementsByClassName("liveChatFloatingButtonMobile"),u&&u.length>0&&(u[0].style.bottom="-100px")))}function vt(){r===null||ngage.isMobile()||(n.bottomSlider?document.body.appendChild(r):document.body.insertBefore(r,document.body.firstChild))}function a(){if(ngage.tracker.inviteStyle!==e.none){r!==null&&(r.style.height="0px");var i=n.bottomSlider&&ngage.isMobile()?"ngageMobileFloatBottom":"ngageMobileFloat",t=document.getElementsByClassName(i);t&&t.length>0&&(n.bottomSlider?t[0].style.bottom="-450px":t[0].style.top="-450px")}}function v(){if(ngage.cookies.setCookie("NgageAutoPopup","false",5/1440),a(),ngage.tracker.events.fire.noEvent(),n.killBottom){var t=document.getElementsByClassName("liveChatFloatingButtonMobile");t&&t.length>0&&(t[0].style.bottom="0px")}}function yt(){if(i===null){var t=document.head||document.getElementsByTagName("head")[0];i=document.createElement("link");i.rel="stylesheet";i.type="text/css";i.href=n.bottomSlider&&ngage.isMobile()?httpsPreFix+main_url+"/Content/Style/mobileSlider.min.css":ngage.isMobile()?httpsPreFix+main_url+"/Content/Style/mobileInvite.min.css":httpsPreFix+main_url+"/Content/Style/desktopInvite.min.css";i.media="all";t.appendChild(i)}}function et(){return typeof has_general_image!="undefined"&&has_general_image}function o(t,i){var r=document.querySelector(t),f=null,e=null,u;if(r&&(f=r.offsetWidth,e=r.offsetHeight),u=document.querySelector(i),u){var o=r&&f>0&&e>0?"&width="+f+"&height="+e:"",s=n.customResizePercentageLimitForGeneralImage?"&resizePercentageLimit="+n.customResizePercentageLimitForGeneralImage:"",h=n.customQualityPercentageForGeneralImage?"&qualityPercentage="+n.customQualityPercentageForGeneralImage:"";if(!et()){u.src=n.imageUrl;return}u.src=n.imageUrl+o+s+h}}function pt(){function h(){return ngage.isMobile()?(y(),!1):(c(),l(),v(),!0)}function c(){var u=n.mockChatInviteText.messageText1||t.messageText1,f=n.mockChatInviteText.messageText2||t.messageText2,e=n.mockChatInviteText.header||t.header,o=n.mockChatInviteText.buttonTitle||t.buttonTitle,s=ngage.tracker.chatInvite.getInviteSettings().mobileRightHalfSpanishText||"charla en vivo",r;document.referrer.match(document.location.hostname)&&(u=n.mockChatInviteText.repeatMessageText1||t.repeatMessageText1,f=n.mockChatInviteText.repeatMessageText2||t.repeatMessageText2);ngage.custom.appendNgageCSS("#nGageLH{display:none!important}");i.classList.add("bottom-right-black-bubble-invite-container");i.setAttribute("id","bottom-right-black-bubble-invite-container");ht[n.mockChatPosition]||(n.mockChatPosition="right");i.style[n.mockChatPosition]="15px";i.style.fontFamily=n.desktopInviteFont;r=httpsPreFix+main_url+"/Images/";i.innerHTML+='
Chat bubble header image<\/div>
<\/div>
'+n.mockChatBubbleHeader+'<\/div>
'+n.mockChatBubbleText+'<\/div>
Chat bubble tail<\/div>
Dismiss button<\/div><\/div><\/a>';i.innerHTML+='
<\/div>
'+e+'<\/div>
Dismiss button<\/div><\/div><\/div>
Business professional<\/div><\/div>
'+u+'<\/div>
'+f+'<\/div>
<\/div>
<\/div>
<\/div><\/div><\/div><\/div><\/div><\/div>
'+o+'<\/div ><\/div ><\/a >
Chat window tail<\/div><\/div ><\/div > ';i.innerHTML+='Chat Popup<\/title>Clicking on the Chat Popup opens a chat<\/desc><\/feOffset><\/feGaussianBlur><\/feColorMatrix><\/feMergeNode><\/feMergeNode><\/feMerge><\/filter><\/defs><\/circle > <\/path><\/path><\/g><\/g ><\/g ><\/g ><\/g ><\/svg ><\/a> ';n.spanishSplitMockBubble&&ngage.custom.appendNgageCSS(".black-bubble-headline{margin-top:-23px!important;margin-bottom:-1px!important}.black-bubble-description-text{line-height:18px!important}.black-bubble-description-text a u, .black-bubble-background-link{color:#dadada}.chat-window-message-two a,.chat-window-message-two a:active,.chat-window-message-two a:hover,.chat-window-message-two a:focus{color:#3c6772}");document.body.appendChild(i)}function l(){if(setTimeout(function(){i.style.display="block";o(".black-bubble-background-image-container",".black-bubble-background-image");setTimeout(function(){i.style.opacity="1"},250)},250),!ngage.cookies.getCookie("NgageAutoPopup")){setTimeout(f,n.mockChatTimer);var t=document.getElementsByClassName("chat-window-operator-image-container")[0];t.style.border="1.2px solid";t.style.borderColor=n.barColor;document.getElementsByClassName("chat-window-start-chat-cta")[0].style.backgroundColor=n.barColor;window.addEventListener("scroll",e)}}function a(){var i=document.getElementsByClassName("chat-window-message-one")[0].clientHeight,r=document.getElementsByClassName("chat-window-message-two")[0].clientHeight,n=i+r+65,t=n+71;n>ct?document.getElementsByClassName("chat-window-middle")[0].style.height=n+"px":null;t>lt?document.getElementsByClassName("chat-window-background")[0].style.height=t+"px":null}function v(){document.getElementById("chat-window-link").addEventListener("click",function(){setTimeout(r,2500)});document.getElementById("chat-window-top-content-dismiss-image").addEventListener("click",r);document.getElementById("black-circle-background-image-container").addEventListener("click",function(){setTimeout(r,2500)});document.getElementById("liveChatDismissContainer").addEventListener("click",function(n){n.stopPropagation();n.preventDefault();k()})}function f(){u||(u=!0,p())}function e(){var n=document.body,t=document.documentElement,i=window.pageYOffset||t.scrollTop||n.scrollTop;i>=s&&(f(),window.removeEventListener("scroll",e))}function p(){var n=document.getElementsByClassName("black-bubble-background")[0],t=document.getElementsByClassName("black-bubble-background-online-dot")[0];n&&(n.style.opacity="0",t.style.display="none",setTimeout(function(){n.style.display="none";w()},150))}function w(){var n=document.getElementsByClassName("chat-window-background-container")[0];typeof n!="undefined"&&n!==null&&(n.style.display="block",o(".chat-window-operator-image-container",".chat-window-operator-image"),setTimeout(function(){n.style.opacity="1";n.style.top="0"},150),setTimeout(b,6e3))}function b(){var n=document.getElementsByClassName("chat-bubble-container")[0],t=document.getElementsByClassName("chat-window-message-two")[0],i=document.getElementsByClassName("chat-window-operator-image-container")[0];typeof n!="undefined"&&n!==null&&(n.style.display="none",setTimeout(function(){t.style.display="block";i.style.top="101px";a()},500))}function r(){var n,t,i;ngage.cookies.getCookie("NgageAutoPopup")||ngage.cookies.setCookie("NgageAutoPopup","false",5/1440);n=document.getElementsByClassName("chat-window-background-container")[0];typeof n!="undefined"&&n!==null&&n.style.top==="0px"&&(t=document.getElementById("bottom-right-black-bubble-invite-container"),i=document.getElementById("chat-window-background-container"),n.style.opacity="0",n.style.top="40px",setTimeout(function(){t.removeChild(i)},250))}function k(){var n=document.getElementsByClassName("black-bubble-background-link")[0],t,i;typeof n!="undefined"&&n!==null&&(t=document.getElementById("bottom-right-black-bubble-invite-container"),i=document.getElementById("black-bubble-background-link"),n.style.opacity="0",setTimeout(function(){t.removeChild(i)},250))}var u=!1,s=n.mockChatScroll,i=document.createElement("div");h()}function wt(){var n=ngage.tracker.chatInvite.getInviteSettings().scrollTimer||5e3;setTimeout(function(){function o(){n.style.opacity="0";setTimeout(function(){n.style.display="none"},500)}function s(){ngage.cookies.setCookie("NgageAutoPopup","false",120/1440)}var r=ngage.tracker.chatInvite.getInviteSettings().barColor,n,t,u,f,e,i;r!="rgb(240,140,2)"&&r||(r="#474747");n=document.createElement("a");n.setAttribute("class","bottom-mobile-chat-bubble");n.href="javascript:AcceptAutoPopup();";t=document.createElement("div");t.className="bottom-mobile-chat-bubble-container";t.innerHTML='Hi! A live, real person is available 24/7<\/span> at no obligation. Start whenever you are ready.';u=document.createElement("div");u.className="bubble-dismiss-container";u.id="bubbleDismissContainer";f=document.createElement("img");f.className="pointer-image";f.src="https://scripting.ngagelive.com/dev_test/assets/images/bubble-point.png";f.alt="Chat Bubble Pointer";e=document.createElement("div");e.className="pointer-image-container";e.appendChild(f);i=document.createElement("div");i.className="bubble-dismiss-image";i.id="bubbleDismissImage";u.appendChild(i);t.insertBefore(u,t.childNodes[0]);t.appendChild(e);n.appendChild(t);document.body.appendChild(n);ngage.custom.appendNgageCSS(".bottom-mobile-chat-bubble { bottom: 90px;} .bottom-mobile-chat-bubble-container { line-height:28px; box-shadow: 0 0 25px 0 rgba(0,0,0,1); }#boldBubbleText { color:"+r+";} .liveChatFloatingButtonMobile{background-color:"+r+" !important;}");i=document.getElementById("bubbleDismissImage");ngage.custom.appendNgageCSS(".ngageMobileFloat { display:none;}");ngage.cookies.getCookie("NgageAutoPopup")===null&&(n.style.display="block",setTimeout(function(){n.style.opacity="1"},500));n.addEventListener("click",o);i.addEventListener("click",function(n){n.stopPropagation();n.preventDefault();s();o()})},n)}function bt(){var t,n,i,r;if(ngage.isMobile())return y(),!1;if(!ngage.cookies.getCookie("NgageAutoPopup")){t=document.createElement("div");t.id="ngageChatInvitationBlockBackground";t.style.display="none";t.style.height="100%";t.style.width="100%";t.style.position="fixed";t.style.left="0px";t.style.top="0px";t.style.backgroundColor="rgba(0,0,0,.8)";t.style.zIndex="1000000";document.getElementsByTagName("body")[0].appendChild(t);n=document.createElement("div");n.id="ngageChatInvitationBlock";n.style.visibility="hidden";n.style.background="url("+httpsPreFix+main_url+"/ImageRetrievers/PopupBG.aspx?websiteid="+WebsiteID+")";n.style.height="315px";n.style.width="375px";n.style.position="fixed";n.style.top="50px";n.style.left=(document.body.getBoundingClientRect().width-375)/2+"px";n.style.zIndex="1000001";i=document.createElement("div");i.id="ngageChatInvitationBlockYes";i.style.height="50px";i.style.width="187px";i.style.bottom="0px";i.style.left="0px";i.style.position="absolute";i.style.background="url("+httpsPreFix+main_url+"/ImageRetrievers/PopupButtons.aspx?websiteid="+WebsiteID+"&type=yes)";i.style.backgroundPosition="bottom";i.style.backgroundRepeat="no-repeat";r=document.createElement("div");r.id="ngageChatInvitationBlockNo";r.style.background="url("+httpsPreFix+main_url+"/ImageRetrievers/PopupButtons.aspx?websiteid="+WebsiteID+"&type=no)";r.style.backgroundPosition="bottom";r.style.backgroundRepeat="no-repeat";r.style.height="50px";r.style.width="188px";r.style.bottom="0px";r.style.position="absolute";r.style.right="0px";n.appendChild(i);n.appendChild(r);i.style.cursor="pointer";r.style.cursor="pointer";document.getElementsByTagName("body")[0].appendChild(n);function u(){n.parentNode.removeChild(n);t.parentNode.removeChild(t);ngage.cookies.setCookie("NgageAutoPopup","false",120/1440)}i.onclick=function(){AcceptAutoPopup();u()};r.onclick=u;setTimeout(function(){n.style.visibility="visible";t.style.display="block"},1e4)}}function y(){var i,y,t,e,p,k,w,b,c,a,d;ot();f===null&&(f=document.createElement("div"),f.id="ngageMobileInvite",i=document.createElement("div"),i.className=n.bottomSlider&&ngage.isMobile()?"ngageMobileFloatBottom":"ngageMobileFloat",f.appendChild(i),y=document.createElement("a"),y.className="ngageBoxClose",y.id="ngageBoxClose",y.onclick=v,ngage.isMobile()&&i.appendChild(y),t=document.createElement("div"),t.className="ngageText",i.appendChild(t),e=document.createElement("div"),e.className="ngageMobilePicContainer",t.appendChild(e),n.imageUrl===u&&ngage.isMobile()&&(e.style.borderRadius="0px",e.style.border="0px"),ngage.isMobile()||n.imageUrl!==u||!n.defaultImage?(p=document.createElement("img"),p.id="ngageMobilePic",p.alt="Image of Professional",e.appendChild(p)):(k="url("+httpsPreFix+main_url+"/ImageRetrievers/PopupBG.aspx?websiteid="+WebsiteID+")",k+=n.defaultImage=="small"?"90% 0% / 211px 155px no-repeat":"90% 0% / 300% no-repeat",e.style.background=k,e.style.borderRadius="20%"),w=document.createElement("div"),w.className="ngageHeader",w.innerHTML=n.headerHtml,t.appendChild(w),ngage.isMobile()||(n.barColor=n.barColor||"rgb(240,140,2)",n.imageUrl=n.imageUrl||u,t.style.textAlign="center"),b=document.createElement("div"),b.innerHTML=n.customHtml,t.appendChild(b),b.className="ngage-description-text",c=document.createElement("div"),c.className="ngageMobileBar",a=document.createElement("div"),a.className="ngageMobileBarNo",ngage.isMobile()&&n.useMobileMock&&wt(),n.barColor&&(c.style.backgroundColor=n.barColor),n.bottomSlider&&(c.style.top="-1em",c.style.bottom="auto",t.style.paddingTop="1.5em",i.style.top="auto",i.style.bottom="-450px",a.style.top="-1em",a.style.bottom="auto",e.style.marginTop="20px",c.style.boxShadow="0 -3px 4px 0 #9f9f9f",a.style.boxShadow="0 -3px 4px 0 #9f9f9f",t.style.marginBottom="5px"),c.onclick=function(){h=!0;AcceptAutoPopup()},t.onclick=function(){h=!0;AcceptAutoPopup()},a.onclick=v,c.innerHTML=n.yesHtml,i.appendChild(c),a.innerHTML=n.noHtml,ngage.isMobile()||i.appendChild(a),r=document.createElement("div"),r.className="liveChatFloatingButtonSpacer",r.style.height="0px",document.body.appendChild(f));ngage.cookies.getCookie("NgageAutoPopup")||(document.addEventListener("scroll",l),d=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight),n.scrollAmount==s&&d-window.innerHeight0){t&&t();return}st();t&&t()}function ni(){c=!0}function ti(){function u(){document.title=n?r:"(1) New Chat Message!";n=!n}function f(){if(document.hidden){if(ngage.cookies.getCookie("NgageAutoPopup")||c)return;t=setTimeout(function(){i=setInterval(u,2500)},7500)}else clearTimeout(t),clearInterval(i),document.title=r}if(!ngage.isMobile()&&!c){var n=!1,t,i,r=document.title;document.addEventListener&&document.addEventListener("visibilitychange",f,!1)}}function ii(){if(!it&&!ngage.tracker.killNgageFlag){if(it=!0,rt=new Date,u=httpsPreFix+main_url+u,window.ngageLang=typeof ngageLang!="undefined"?window.ngageLang:"en",at(window.ngageLang),yt(),ngage.tracker.inviteStyle!==e.none){var n=y;ngage.tracker.inviteStyle===e.mockChat?n=pt:ngage.tracker.inviteStyle===e.shadowBox&&(n=bt);gt(n)}else st();ti()}}var u="/Images/mobile.png",p="Hi, we are here to help if you have questions.",w="No, thanks",b=ngage.isMobile()?"
YES<\/div>, start now!<\/span>":"
Yes, start now!<\/div>",k=ngage.isMobile()?"
LIVE CHAT<\/div>":"
LIVE CHAT<\/span> - ONLINE NOW<\/div>",ht={right:!0,left:!0},d="live chat",g="Get 24/7 Real-Time
Assistance.",t={messageText1:"Hi! A live, real person is available 24/7 at no obligation.",messageText2:"Live Chat is secure, free and easy. Start whenever you are ready.",repeatMessageText1:"Hi, you may just be browsing, but our team of operators is standing by.",repeatMessageText2:"Click here to start chatting whenever you are ready.",header:"online now",buttonTitle:"Start Chat"},ct=259,lt=330,nt="live chat",tt="start now",s=300,it=!1,f=null,i=null,rt=null,h=!1,c=!1,r=null,ut=!1,ft=ngage.tracker,e=ft.inviteStyles,n={customHtml:p,yesHtml:b,noHtml:w,headerHtml:k,imageUrl:null,killBottom:!1,barColor:"rgb(240,140,2)",scrollAmount:s,scrollTimer:5e3,useCookies:!0,useOldMobile:!1,useSameWindowMobile:!1,useSameWindowDesktop:!1,bottomSlider:!1,defaultImage:!1,mockChatPosition:"right",mockChatBubbleHeader:d,mockChatBubbleHeaderColor:"rgb(240,140,2)",mockChatBubbleText:g,mockChatInviteText:t,mockChatTimer:5e3,mockChatScroll:0,mobileMockBackground:"#474747",mobileLeftHalfText:nt,mobileRightHalfText:tt,mobileRightHalfSpanishText:"charla en vivo",spanishSplitMobile:!1,spanishSplitVertical:!1,spanishSplitMockBubble:!1,useMobileMock:!1,desktopBubbleColor:"#3e3e3e",mobileTextUsLink:null,desktopInviteFont:"'Proxima Nova Rg Regular', 'Helvetica Neue', Helvetica, Arial, sans-serif",customResizePercentageLimitForGeneralImage:null,customQualityPercentageForGeneralImage:null};return ngage.isMobile()||(u="/Images/new_mobile.png"),{init:ii,hookEvents:ot,setInviteSettings:kt,getInviteSettings:dt,removeSlider:v,hideInvite:a,disableTitleFlash:ni,completeUrlOfGeneralImageWithDimensionParameters:o}}();ngage.tracker.chatWindow=ngage.tracker.chatWindow||function(){function y(){var n=navigator.userAgent.toLowerCase();return n.match(/iphone.* crios\/[.0-9]* mobile|iphone.* version\/[.0-9]* mobile/i)?!0:!1}function k(n){n.stopPropagation();w(u,{name:"CloseWindow"})}function d(){s=!1;t&&e(event);a();n.getElementById("ngageChatDiv").style.display="none";n.getElementById("ngageChatMessages").style.display="none";n.getElementById("ngageChatMessages").removeChild(u);u=null}function g(){var r=n.getElementById("ngageChatHeader"),i=r.style,u=i.backgroundColor,f="red",t=!1;c||(h=setInterval(function(){i.backgroundColor=t?u:f;t=!t},500),c=!0)}function nt(){r===null&&(r=document.createElement("link"),r.type="text/css",r.href=b+main_url+"/Template/ChatIframe.css",r.rel="stylesheet",document.getElementsByTagName("head")[0].appendChild(r))}function tt(){var n='
',t;n+='
';n+="Chat<\/a>";n+="<\/div>";n+='
';n+=' _ <\/a>';n+='↗<\/a>';n+='✕<\/a>';n+="<\/div>";n+='
<\/div>';n+="<\/div>";n+='
';n+='
';n+='
';n+='
<\/div>';n+='
<\/div>';n+='
<\/div>';n+='
<\/div>';n+='
<\/div>';n+='
<\/div>';n+='
<\/div>';n+='
<\/div>';n+="<\/div>";n+='
';n+="Please Wait, We are loading your Chat";n+="<\/div>";n+="<\/div>";n+='